package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (CoditPage)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:19:32
 */
@ApiModel(value = "商品图片")
public class CoditPage implements Serializable {
    private static final long serialVersionUID = -11141952695564562L;
    /**
     * 商品图片id
     */
    @ApiModelProperty(name = "coditPageId",notes = "商品图片id",required = false,value = "商品图片id")
    private Integer coditPageId;
    /**
     * 图片地址
     */
    @ApiModelProperty(name = "pageAddr",notes = "图片地址",required = true,value = "图片地址")
    private String pageAddr;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id",value = "商品id")
    private Integer goodsId;
    /**
     * 商品
     */
    private Goods goods;

    public Integer getCoditPageId() {
        return coditPageId;
    }

    public void setCoditPageId(Integer coditPageId) {
        this.coditPageId = coditPageId;
    }

    public String getPageAddr() {
        return pageAddr;
    }

    public void setPageAddr(String pageAddr) {
        this.pageAddr = pageAddr;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "CoditPage{" +
                "coditPageId=" + coditPageId +
                ", pageAddr='" + pageAddr + '\'' +
                ", goodsId=" + goodsId +
                ", goods=" + goods +
                '}';
    }
}